package Communication;

import Client.Client;
import java.io.Serializable;

/**
 *
 * Class description goes here.
 *
 * @author Kamil Gajowy
 */
public class TaskForModule implements Serializable {

    /**
     * ID of the task
     */
    private int taskID;
    
    /**
     * Action to take
     */
    private int action;

    /**
     * Client to parse.
     */
    private Client client;


    /**
    * Default constructor.
     * @param id
     * @param client
     * @param actionToTake
     */
    public TaskForModule(int id, Client client, int actionToTake){
        this.taskID = id;
        this.client = client;
        this.action = actionToTake;
    }

    /**
     * @return the taskID
     */
    public int getTaskID() {
        return taskID;
    }

    /**
     * @return the client
     */
    public Client getClient() {
        return client;
    }

    /**
     * @return the action do to. Defined int TaskConst
     */
    public int getAction() {
        return action;
    }


}//end class
